//
//  picCollectionViewCell.swift
//  WeiBo
//
//  Created by LTX on 2016/12/5.
//  Copyright © 2016年 LTX. All rights reserved.
//

import UIKit

class picCollectionViewCell: UICollectionViewCell {

    // MARK:- 自定义模型属性
    var picURL : NSURL?{
        didSet{
        
            guard let picURL = picURL else {
                return
            }
            
            iconView.sd_setImage(with: picURL as URL, placeholderImage: UIImage(named: "empty_picture"))
            
        }
    
    }
    
    
    
    
    @IBOutlet weak var iconView: UIImageView!
    
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

}
